home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / game / misc / videopokeri_sr.lha / poker.h / Graphics.h < prev    next >
C/C++ Source or Header  |  1992-05-14  |  5KB  |  285 lines

  1.  
  2. /***********************************************************************
  3.  *                                                                     *
  4.  *  Headerfile   : graphics.h                                          *
  5.  *                                                                     *
  6.  *  Program      : VIDEO-POKERI                                        *
  7.  *                                                                     *
  8.  *  Version      : 0.99e      (05.11.1991)   (15.05.1992)              *
  9.  *                                                                     *
  10.  *  Author       : JanTAki                                             *
  11.  *                 92100  RAAHE ,  FINLAND                             *
  12.  *                                                                     *
  13.  *  E-mail       : janta@ratol.fi                                      *  
  14.  *                                                                     *
  15.  ***********************************************************************/
  16.  
  17. /* graphics.h */
  18.  
  19.  
  20. #define KORTTIX     16
  21. #define KORTTIY    118
  22. #define KORTTIL     50
  23. #define KORTTIK     78
  24. #define KORTTIVALI  10
  25. #define PAINIKEX    16
  26. #define PAINIKEY   227
  27. #define PAINIKEL    40
  28. #define PAINIKEK    18
  29. #define PAINIKEVALI 10
  30.  
  31. extern USHORT JakoUpData[];
  32. extern USHORT JakoDownData[];
  33. extern USHORT VoittoUpData[];
  34. extern USHORT VoittoDownData[];
  35. extern USHORT PanosData[];
  36. extern USHORT PanosUpData[];
  37. extern USHORT PanosDownData[];
  38. extern USHORT SuuriUpData[];
  39. extern USHORT SuuriDownData[];
  40. extern USHORT PieniUpData[];
  41. extern USHORT PieniDownData[];
  42. extern USHORT TuplausUpData[];
  43. extern USHORT TuplausDownData[];
  44. extern USHORT JakoUpEng[];
  45. extern USHORT JakoDownEng[];
  46. extern USHORT VoittoUpEng[];
  47. extern USHORT VoittoDownEng[];
  48. extern USHORT PanosEng[];
  49. extern USHORT PanosUpEng[];
  50. extern USHORT PanosDownEng[];
  51. extern USHORT SuuriUpEng[];
  52. extern USHORT SuuriDownEng[];
  53. extern USHORT PieniUpEng[];
  54. extern USHORT PieniDownEng[];
  55. extern USHORT TuplausUpEng[];
  56. extern USHORT TuplausDownEng[];
  57.  
  58. struct Image PanosImage =
  59.     {            
  60.     -1,-1,         
  61.     24,23,       
  62.     5,           
  63.     PanosData,    
  64.     0xff,0x0,    
  65.     NULL         
  66.     };
  67.  
  68. struct Image PainikeImage[] =
  69.     {
  70.         {
  71.         -1,-1,                /* JAKO-painike ylhäällä */
  72.         41,19,
  73.         5,
  74.         JakoUpData,
  75.         0xff,0x0,
  76.         NULL
  77.         },
  78.         {
  79.         -1,-1,                /* JAKO-painike alhaalla */
  80.         41,19,
  81.         5,
  82.         JakoDownData,
  83.         0xff,0x0,
  84.         NULL
  85.         },
  86.         {
  87.         -1,-1,                /* VOITTO-painike ylhäällä */
  88.         41,19,
  89.         5,
  90.         VoittoUpData,
  91.         0xff,0x0,
  92.         NULL
  93.         },
  94.         {
  95.         -1,-1,                /* VOITTO-painike alhaalla */
  96.         41,19,
  97.         5,
  98.         VoittoDownData,
  99.         0xff,0x0,
  100.         NULL
  101.         },
  102.         {
  103.         -1,-1,                /* PANOS-painike ylhäällä */
  104.         41,19,
  105.         5,
  106.         PanosUpData,
  107.         0xff,0x0,
  108.         NULL
  109.         },
  110.         {
  111.         -1,-1,                /* PANOS-painike alhaalla */
  112.         41,19,
  113.         5,
  114.         PanosDownData,
  115.         0xff,0x0,
  116.         NULL
  117.         },
  118.         {
  119.         -1,-1,                /* SUURI-painike ylhäällä */
  120.         41,19,
  121.         5,
  122.         SuuriUpData,
  123.         0xff,0x0,
  124.         NULL
  125.         },
  126.         {
  127.         -1,-1,                /* SUURI-painike alhaalla */
  128.         41,19,
  129.         5,
  130.         SuuriDownData,
  131.         0xff,0x0,
  132.         NULL
  133.         },
  134.         {
  135.         -1,-1,                /* PIENI-painike ylhäällä */
  136.         41,19,
  137.         5,
  138.         PieniUpData,
  139.         0xff,0x0,
  140.         NULL
  141.         },
  142.         {
  143.         -1,-1,                /* PIENI-painike alhaalla */
  144.         41,19,
  145.         5,
  146.         PieniDownData,
  147.         0xff,0x0,
  148.         NULL
  149.         },
  150.         {
  151.         -1,-1,                /* TUPLAUS-painike ylhäällä */
  152.         41,19,
  153.         5,
  154.         TuplausUpData,
  155.         0xff,0x0,
  156.         NULL
  157.         },
  158.         {
  159.         -1,-1,                /* TUPLAUS-painike alhaalla */
  160.         41,19,
  161.         5,
  162.         TuplausDownData,
  163.         0xff,0x0,
  164.         NULL
  165.         },
  166.         {
  167.         -1,-1,                /* JAKO-painike ylhäällä */
  168.         41,19,
  169.         5,
  170.         JakoUpEng,            /* ENGLANTI */
  171.         0xff,0x0,
  172.         NULL
  173.         },
  174.         {
  175.         -1,-1,                /* JAKO-painike alhaalla */
  176.         41,19,
  177.         5,
  178.         JakoDownEng,        /* ENGLANTI */
  179.         0xff,0x0,
  180.         NULL
  181.         },
  182.         {
  183.         -1,-1,                /* VOITTO-painike ylhäällä */
  184.         41,19,
  185.         5,
  186.         VoittoUpEng,        /* ENGLANTI */
  187.         0xff,0x0,
  188.         NULL
  189.         },
  190.         {
  191.         -1,-1,                /* VOITTO-painike alhaalla */
  192.         41,19,
  193.         5,
  194.         VoittoDownEng,        /* ENGLANTI */
  195.         0xff,0x0,
  196.         NULL
  197.         },
  198.         {
  199.         -1,-1,                /* PANOS-painike ylhäällä */
  200.         41,19,
  201.         5,
  202.         PanosUpEng,            /* ENGLANTI */
  203.         0xff,0x0,
  204.         NULL
  205.         },
  206.         {
  207.         -1,-1,                /* PANOS-painike alhaalla */
  208.         41,19,
  209.         5,
  210.         PanosDownEng,        /* ENGLANTI */
  211.         0xff,0x0,
  212.         NULL
  213.         },
  214.         {
  215.         -1,-1,                /* SUURI-painike ylhäällä */
  216.         41,19,
  217.         5,
  218.         SuuriUpEng,            /* ENGLANTI */
  219.         0xff,0x0,
  220.         NULL
  221.         },
  222.         {
  223.         -1,-1,                /* SUURI-painike alhaalla */
  224.         41,19,
  225.         5,
  226.         SuuriDownEng,        /* ENGLANTI */
  227.         0xff,0x0,
  228.         NULL
  229.         },
  230.         {
  231.         -1,-1,                /* PIENI-painike ylhäällä */
  232.         41,19,
  233.         5,
  234.         PieniUpEng,            /* ENGLANTI */
  235.         0xff,0x0,
  236.         NULL
  237.         },
  238.         {
  239.         -1,-1,                /* PIENI-painike alhaalla */
  240.         41,19,
  241.         5,
  242.         PieniDownEng,        /* ENGLANTI */
  243.         0xff,0x0,
  244.         NULL
  245.         },
  246.         {
  247.         -1,-1,                /* TUPLAUS-painike ylhäällä */
  248.         41,19,
  249.         5,
  250.         TuplausUpEng,        /* ENGLANTI */
  251.         0xff,0x0,
  252.         NULL
  253.         },
  254.         {
  255.         -1,-1,                /* TUPLAUS-painike alhaalla */
  256.         41,19,
  257.         5,
  258.         TuplausDownEng,        /* ENGLANTI */
  259.         0xff,0x0,
  260.         NULL
  261.         }
  262.     };
  263.  
  264.  
  265. SHORT datapakkakehys[] =
  266.     {
  267.     0,0,
  268.     KORTTIL,0,
  269.     KORTTIL,KORTTIK,
  270.     0,KORTTIK,
  271.     0,0
  272.     };
  273.  
  274. struct Border pakkakehys =
  275.     {
  276.     -1, -1,
  277.     1,0,JAM1,
  278.     5,
  279.     datapakkakehys,
  280.     NULL
  281.     };
  282.  
  283. /* end of graphics.h */
  284.  
  285.